home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / VistaPro / Lyap2DEM.doc < prev    next >
Text File  |  1993-01-31  |  4KB  |  79 lines

  1.                        Lyap2DEM User Notes
  2.                        -------------------
  3.  
  4.                          String Gadgets
  5.                          --------------
  6.  
  7. The program Lyap2DEM is loosely based on the article in Scientific
  8. American, Computer Recreations, for September, 1991. The parameters
  9. 'a' and 'b' in the pattern string match the 'a' and 'b' used in
  10. the article. The parameters 'c' through 'z' are my own invention
  11. while I was looking for other interesting patterns.
  12.  
  13. Seed: The starting number for the iterations. Should be between 0 ... 1.
  14. X Coordinate: The leftmost value used in the iteration window.
  15. Y Coordinate: The bottommost value used in the iteration window.
  16. Width: The difference between the leftmost and rightmost values in
  17.        the iteration window.
  18. Mult: The value that a given point is multiplied by to give a reasonable
  19.       elevation for the DEM.
  20. Max Elevation: The largest elevation value permitted to occur. Anything
  21.                larger is truncated back to this elevation.
  22. Pattern: A series of letters which represent the following functions
  23.          used when iterating:
  24.    'a': z = (y * z) * (1.0 - z);
  25.    'b': z = (x * z) * (1.0 - z);
  26.    'c': z = (y * z) * (1.0 - z * z);
  27.    'd': z = (x * z) * (1.0 - z * z);
  28.    'e': z = (y * z) * (1.0 - sqrt(z));
  29.    'f': z = (x * z) * (1.0 - sqrt(z));
  30.    'g': z = (y * z) * (1.0 - sin(z));
  31.    'h': z = (x * z) * (1.0 - sin(z));
  32.    'i': z = (y * z) * (1.0 - cos(z));
  33.    'j': z = (x * z) * (1.0 - cos(z));
  34.    'k': z = (y * z) * (1.0 - z * z * z);
  35.    'l': z = (x * z) * (1.0 - z * z * z);
  36.    'm': z = (y * z) * (1.0 - sqrt(z * z * z));
  37.    'n': z = (x * z) * (1.0 - sqrt(z * z * z));
  38.    'o': z = (y * z) * (1.0 - sin(z * z));
  39.    'p': z = (x * z) * (1.0 - sin(z * z));
  40.    'q': z = (y * z) * (1.0 - cos(z * z));
  41.    'r': z = (x * z) * (1.0 - cos(z * z));
  42.    's': z = (y * z) * (1.0 - sin(z * z * z));
  43.    't': z = (x * z) * (1.0 - sin(z * z * z));
  44.    'u': z = (y * z) * (1.0 - cos(z * z * z));
  45.    'v': z = (x * z) * (1.0 - cos(z * z * z));
  46.    'w': z = (y * z) * (1.0 - sin(sqrt(z * z * z)));
  47.    'x': z = (x * z) * (1.0 - sin(sqrt(z * z * z)));
  48.    'y': z = (y * z) * (1.0 - cos(sqrt(z * z * z)));
  49.    'z': z = (x * z) * (1.0 - cos(sqrt(z * z * z)));
  50. Iterations: The number of iterations to use each pass. Each letter is
  51.             considered one iteration.
  52. DEM Filename: The name of the DEM file that will be saved with the "Save"
  53.               function.
  54. DEM Size: The number of data points used for the width and height of
  55.           the DEM.
  56.  
  57.                               Buttons
  58.                               -------
  59. 258, 514, 1026: Buttons to set the standard widths of commonly used DEM's.
  60. Zoom: Creates a rubber band box for enclosing the area you want to
  61.       render in greater detail.
  62. 2/: Multiplies the width by 2. Like doubling your distance above the
  63.     landscape.
  64. 2x: Divides the width by 2. Zoom 2x function.
  65. Save: Save the currently rendered DEM as the filename in DEM Filename.
  66. Go: Start rendering a Lyapunov using the parameters above.
  67. Stop: Stop rendering at the end of the current line.
  68. Linear: Use the iteration values as they come out of the function.
  69. Sqrt: Use the square root of the iteration values.
  70. Log: Use the log of the iteration values.
  71. Invert: Use Max Elevation for the sea level, and decrease elevations
  72.         as the iteration values increase.
  73. Horiz: Flip the landscape along the horizontal axis. Requires re-rendering.
  74. Vert: Flip the landscape along the vertical axis. Requires re-rendering.
  75.  
  76. The Horiz and Vert functions can be used to build mirror DEM's that can
  77. be loaded in as pieces of a larger DEM in VistaPro 2.0.
  78.  
  79.